﻿@using Framework.Util.Helpers
@model IEnumerable<Project.Domain.Entities.BetDetail>    
     @foreach (var bet3Way in Model)
     {
         switch (bet3Way.Type)
         {
             case 1:
                 {
                     <div class="wrap_listbetExactScore_item" style="float: left; margin-top: 5px;">
                         <div class="betbtnsofbet" onclick="gameplus_addSlip(@bet3Way.BetDetailId)" style="width: 143px !important;" id="@bet3Way.BetDetailId">
                             <span class="float_right" >@Html.Slip(bet3Way.OddsHome.ToString())   
                             </span>                   
                             @bet3Way.Bet.Match.HomeTeam.TeamName
                         </div>        
                     </div>
                     break;
                 }
             case 2:
                 {
                     <div class="wrap_listbetExactScore_item" style="float: left; margin-top: 5px;">
                         <div class="betbtnsofbet" onclick="gameplus_addSlip(@bet3Way.BetDetailId)" style="width: 143px !important;" id="@bet3Way.BetDetailId">
                             <span class="float_right">
                                 @Html.Slip(bet3Way.OddsDraw.ToString())
                             </span>Draw
                         </div>       
                     </div>
                     break;
                 }
             default:
                 {
                     <div class="wrap_listbetExactScore_item" style="float: left; margin-top: 5px;">
                         <div class="betbtnsofbet" onclick="gameplus_addSlip(@bet3Way.BetDetailId)" style="width: 143px !important;" id="@bet3Way.BetDetailId">
                             <span class="float_right">
                                 @Html.Slip(bet3Way.OddsAway.ToString())
                             </span>@bet3Way.Bet.Match.AwayTeam.TeamName
                         </div>      
                     </div>
                     break;
                 }
         }
     }

 

